package com.ms.p2p.provider;


import com.ms.common.bean.Message;
import com.alibaba.dubbo.config.annotation.Service;

/**
 * 短信
 */
@Service
public interface SendProvider {

	public void sendMail(String email, String subject, String content);
	/**
	 * 发送短信，处理返回码，判读是否成功
	 */
	public Message sendSMS(String mobile, String content, String type, Integer userId);
}
